import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

const useSidebarStatusStore = defineStore('sidebarStatus',{ 
    state: () => ({
        isCollapse: false,
    }),
    getters: {
      
    },
    actions: {
        expandToggle(value) {
        this.isCollapse = value
      },
      /* async fetchMovies() {
        const response = await fetch('https://api.movies.com/movies')
        const data = await response.json()
        this.movies = data
      }, */
    },
  })
  export default useSidebarStatusStore
